package com.xiaoxu.entry;

import lombok.Getter;

/**
 * @author XuGeGe
 * @auther 徐富林
 * @Date 2022/5/4
 */

@Getter
public class Employee {

    private String name;

    private Integer age;

    private char sex;

    private Integer scors;

    public Employee(String name, Integer age, char sex, Integer scors) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.scors = scors;
    }

    public Employee() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public void setScors(Integer scors) {
        this.scors = scors;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", scors=" + scors +
                '}';
    }

}
